package practice;

import private1.Day;

import java.util.Scanner;


public class PersonPrac {
    private String name;
    private String sex;
    private int age;
    private int num;

    public static void main(String[] args) {
        Scanner stdIn=new Scanner(System.in);
//        System.out.println("你想往数组里放入几个元素？");
//          int n=stdIn.nextInt();
//        Person[] ai=new Person[n];//这里面的元素是类类型变量，而不是实例
//        for (int i = 0; i <ai.length ; i++) {
//            ai[i]=new Person("张三","男","888888",12,70,50);
//        }
        String wd[]={"日","一","二","三","四","五","六","七",};
//        Person[] n=new Person[]{
//                new Person("张三","男","888888",12,70),
//                new Person("李四","男","808888",13,74),
//                new Person("王五","男","887888",14,76),
        };

        Day[] y=new Day[]{
                new Day(1860,9,8),
                new Day(2000,7,8),
                new Day(3000,7,30),
        };
//        for (int i = 0; i <y.length ; i++) {
//            System.out.println(y[i].getYear()+"年"+
//                    y[i].getMonth()+"月"+
//                    y[i].getDate()+"日（"+
//                    wd[y[i].dayOfWeek()]+")");
//        }




//        for (int i = 0; i <n.length; i++) {
//            System.out.println("我叫"+
//                    n[i].getName()+"我的性别是："+
//                    n[i].getSex()+"我的账号是："+
//                    n[i].getNum()
//
//
//
//            );
//        }

    }

